#include "DialogoIniciarClase.h"

DialogoIniciarClase::DialogoIniciarClase() {
	this->set_title("Iniciar Clase");
	this->set_resizable(false);
	this->etiCodigo.set_text("Codigo");
	this->get_vbox()->pack_start(etiCodigo, Gtk::PACK_SHRINK);
	this->get_vbox()->pack_start(codigo, Gtk::PACK_SHRINK);
	this->get_action_area()->set_border_width(30);
	this->add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
	this->add_button(Gtk::Stock::OK, Gtk::RESPONSE_OK);
	this->show_all();
}

std::string DialogoIniciarClase::getCodigo() {
	return this->codigo.get_text();
}

DialogoIniciarClase::~DialogoIniciarClase() {}
